<?php
	switch ($reemplazo["id"]) {
		case "INST_AGUA_CA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AGUA_CA_CTRAL":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AGUA_CLOACA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AGUA_CTE":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AGUA_POZO":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AA_CENTRAL":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AA_INDIVIDUAL":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_AIRE_CALIENTE":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_ASCENSOR_SERV":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_ASCENSOR_PPAL":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_BOXES":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_CALDERA":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_CALEFACCION":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		case "INST_DOBLE_CIRC":
			if ($object->obtener(strtolower($reemplazo['id'])) == 1) $check = 'checked'; else $check = "";
			$html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$check,$html_page);
		break;
		default: $html_page = str_replace("<!--{".$reemplazo["id"]."}-->",$reemplazo["texto"],$html_page); break;
	}
?>